package it.ap.sa.core.util;

import java.util.ArrayList;

/**
 * Wrapper per la lista di oggetti per produrre il formato geojson
 */
public class FeatureCollection {
	
	private String type = "FeatureCollection";
	private ArrayList<Feature> features = new ArrayList<Feature>();
	private long time;
	private String codice_layer;

	public void addFeature(Feature f) {
		features.add(f);
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public ArrayList<Feature> getFeatures() {
		return features;
	}

	public void setFeatures(ArrayList<Feature> features) {
		this.features = features;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public String getCodice_layer() {
		return codice_layer;
	}

	public void setCodice_layer(String codice_layer) {
		this.codice_layer = codice_layer;
	}

}
